package com.sky.service.user.Impl;

import com.sky.entity.Dish;
import com.sky.mapper.user.DishMapper;
import com.sky.service.user.DishService;
import com.sky.vo.DishVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author cgj
 * @Description
 * @create 2025-10-31 下午9:16
 */
@Service
public class DishServiceImpl implements DishService {

    @Autowired
    private DishMapper dishMapper;
    @Override
    public List<DishVO> ListDish(Integer categoryId) {
        List<Dish> dishes = dishMapper.ListDish(categoryId);
        //todo 封装dish中的部分数据到dishvo中并填充其余数据后返回到前端
        return List.of();
    }
}
